<include file="Public:header" />
<section class="panel-body bg-info">
    <div class="form-group m-n">
        <form action="{:U('ClientServer/searchOrder')}" method="post">
            <div class="input-group">
                    <input type="text" name="keywords" class="form-control" placeholder="请输入订单号">
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="submit">搜索</button>
                    </span>
            </div>
        </form>
    </div>
</section>
<section class="panel-body">
    <ul class="list-group alt">

        <volist name="_list" id="vo">
        <li class="list-group-item m-b">
            <a class="media" href="">
                <div class="pull-right m-t-sm">
                    <i class="fa fa-chevron-right text-info"></i>
                </div>
                <div class="media-body">
                    <div class="h4">订单号:{$vo.order_number}</div>
                    <small class="text-muted m-r-xs h5">价格：<if condition="$vo.status eq 0">核算中<else/>{$vo.order_price}</if></small>&nbsp;&nbsp;&nbsp;&nbsp;
                    <small class="text-muted m-r-xs h5">状态：
                        <if condition="$vo.status eq 0"><b class="text-danger">待审核</b><elseif condition="$vo.status eq 1"/><b class="text-info">生产中</b>
                        <elseif condition="$vo.status eq 2"/><b class="text-success">已完成</b>
                    </if>
                    </small><br/>
                    <small class="text-muted m-r-xs h6">下单时间：{$vo.order_time|date='Y-m-d H:i:s',###}</small>
                    <div class="pull-right">
                        <a class="btn btn-s-xs btn-info"  href="{:U('ClientServer/orderDetail?rid='.$vo['rid'])}">状态</a>
                        <a class="btn btn-s-xs btn-primary m-l" href="{:U('ClientServer/orderBaseDetail?rid='.$vo['rid'])}">详情</a>
                    </div>
                </div>
            </a>
        </li>
        </volist>
    </ul>
    <div class="text-center">
        {$_page}
    </div>
</section>
<include file="Public:footer" />